﻿@{
    //Set up Membership
	WebSecurity.InitializeDatabaseConnection("wishlistdb", "WishlistUser", "Id", "Username", true);
    
    Freemium.Initialize("wishlistdb");

    //Create admin role if it doesn't exist
    if (!Roles.RoleExists("admin")) {
        Roles.CreateRole("admin");
    }

    //SMTP Configuration for Hotmail
    WebMail.SmtpServer = "smtp.live.com";
    WebMail.SmtpPort = 25;
    WebMail.EnableSsl = true;

    //Set up Hotmail credentials for test account.  Note that username and from are both your e-mail address
    WebMail.UserName = "";
    WebMail.From = "";
    WebMail.Password = "";
}